// const appServerIp = "https://www.xiertai.com.cn/";
const appServerIp = "http://110.41.14.225:11111/";
const websocket = 'ws://110.41.14.225:9393/irrigationApp/websocket';
const nginxIp = "http://110.41.14.225:11111";
// const appServerIp = "http://192.168.43.182:9393";
// const websocket = 'ws://192.168.43.182:9393/irrigationApp/websocket';
// const nginxIp = "http://192.168.43.182:11111";
const sdpFiles = "sdpFiles"; //所有系统上传的文件都在此文件夹下
const fileServer = nginxIp+'/files'; //文件访问地址,在NGINX里面进行配置、
const uploadServer = appServerIp+'/irrigationApp/SysUploadController/up'; //默认文件上传后台方法
const downLoadServer = appServerIp+'/irrigationApp/SysUploadController/down/'; //默认文件下载后台方法
const appServer = appServerIp+'/irrigationApp';//APP后台地址,不要配置127
const primaryColor = "#239fff";
const title = "灌溉";
const systemNo = "lease";
const tokenKey = "Access-Token";
//数据字典
const dictCodes={
  //是否
  yesOrNo:"6",
  //地理信息树
  locationTree:"4396032880770699264",
  //专家领域
  expertField:'4406364538061344768',
  //人员类别
  empType:'4388826513743958016',
  
  //设备分类
  eqFenlei:'4407145812216664064',

  //人员机井树
  empPumpTree:'4416329595922829312',

  //故障原因
  gzyy:'4422879350324875264',

};
//常量
const constants = {
  "yes":"1",
  "no":"0",
  "weixiugong":"2",//人员类型，维修工
  "eqFunction_guangai":"1",//设备功能-灌溉
  "eqFunction_shifei":"2",//设备功能-施肥
  "eqFunction_jiashui":"3",//设备功能-加水
  "eqFunction_jiaoban":"4",//设备功能-搅拌
  "eqFunction_famen":"5",//设备功能-阀门
  "eqFunction_paisha":"6"//设备功能-排沙
};

const websocketDataType={shenpi:'1',renwu:'2',xiaojia:'3',huanche:'4',yongchechaoshi:'5',qingjiachaoshi:'6'};

const uploadImageType="image/bmp,image/jpg,image/png,image/tif,image/gif,image/pcx,image/tga,image/exif,image/fpx,image/svg,image/psd,image/cdr,image/pcd,image/dxf,image/ufo,image/eps,image/ai,image/raw,image/wmf,image/jpeg,image/webp";
const uploadFileType="doc,docx,xls,xlsx,ppt,pptx,pdf";
const maxUploadSize=52428800;//上传最大50M
export {
  primaryColor,
  title,
  systemNo,
  tokenKey,websocket,sdpFiles,fileServer,uploadServer,downLoadServer,appServer,
  dictCodes,
  websocketDataType,
  uploadImageType,
  maxUploadSize,
  uploadFileType,
  constants,

}